#pragma once
#include"Heap.h"

int main()
{
	int a[] = { 9,5,5,1,3,9,0 };
	Heap hp;
	HeapInit(&hp);
	for (int i = 0; i < sizeof(a) / sizeof(a[0]); i++)
	{
		HeapPush(&hp, a[i]);
	}
	//HeapPop(&hp);
	/*for (int i = 0; i < sizeof(a) / sizeof(a[0]); i++)
	{
		printf("%d ", HeapTop(&hp));
		HeapPop(&hp);
	}*/
	printf("%d\n", HeapSize(&hp));
	return 0;
}
